<!---load meta data based on content being loaded--->
<cfprocessingdirective suppresswhitespace="yes">
<cfif len(trim(c)) GT 0>
	<!---attempts to load metadata for a component if the component has a metadata loader script--->
    <!---script should return the variable metadata which will be output here--->
    <cfif fileexists('#request.basepath#components/#c#/meta/metadata.cfm')>
        <cfinclude template="#request.absolutepath#components/#c#/meta/metadata.cfm">
    <cfelse>
	    <cfinvoke component="cfcs.common.metadata" method="getSiteMetaData" scriptname="#cgi.SCRIPT_NAME#" returnvariable="metadata">
	</cfif>
</cfif>
<!---if no metadata script exists for the called component, then attempt to load metadata based on content being loaded.  The cfc will return default meta data
if there is none associated with the content being called--->
<cfif NOT isdefined('metadata')>
	<cfset filename = cgi.SCRIPT_NAME>
	<cfinvoke component="cfcs.common.metadata" method="getSiteMetaData" scriptname="#cgi.SCRIPT_NAME#" returnvariable="metadata">
</cfif>
<cfoutput>#metadata#</cfoutput>
</cfprocessingdirective>